// app/router/system_route.js
'use strict';

module.exports = app => {
  const { router, controller } = app;
  
  // 健康检查路由
  router.get('/health', controller.healthController.check);
  router.get('/performance', controller.healthController.performance);
  
  // 报告相关路由
  router.get('/api/v1/reports/reconciliation', controller.reportController.generateReport);
  router.get('/api/v1/reports/statistics', controller.reportController.getMatchStatistics);
  router.get('/api/v1/reports/customer-habits', controller.reportController.getCustomerHabits);
  router.get('/api/v1/reports/suggestions', controller.reportController.getSmartSuggestions);
};